#include <linux/module.h>
#include <linux/kernel.h>

void exported_function(void)
{
    printk(KERN_INFO "[IMPL] exported_function called\n");
}
EXPORT_SYMBOL(exported_function);

static int __init kmod_impl_init(void)
{
    printk(KERN_INFO "kmod_impl init\n");
    return 0;
}

static void __exit kmod_impl_exit(void)
{
    printk(KERN_INFO "kmod_impl exit\n");
}

module_init(kmod_impl_init);
module_exit(kmod_impl_exit);

MODULE_LICENSE("GPL");
MODULE_AUTHOR("Author");
MODULE_DESCRIPTION("Module A: exports a function [IMPL]");

